home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / Found / FWNotifn / Sources / FWConnec.cpp next >
Encoding:
Text File  |  1995-11-08  |  1.7 KB  |  58 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWConnec.cpp
  4. //    Release Version:    $ 1.0d11 $
  5. //
  6. //    Copyright:    (c) 1993, 1995 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #include "FWFound.hpp"
  11.  
  12. #ifndef FWCONNEC_H
  13. #include "FWConnec.h"
  14. #endif
  15.  
  16. #if FW_LIB_EXPORT_PRAGMAS
  17. #pragma lib_export on
  18. #endif
  19.  
  20. //========================================================================================
  21. // CLASS FW_CConnection
  22. //========================================================================================
  23.  
  24. //----------------------------------------------------------------------------------------
  25. // FW_CConnection::FW_CConnection
  26. //----------------------------------------------------------------------------------------
  27.  
  28. FW_CConnection::FW_CConnection() :
  29.     fIsConnected(FALSE)
  30. {
  31. }
  32.  
  33. //----------------------------------------------------------------------------------------
  34. // FW_CConnection::~FW_CConnection
  35. //----------------------------------------------------------------------------------------
  36.  
  37. FW_CConnection::~FW_CConnection()
  38. {
  39. }
  40.  
  41. //----------------------------------------------------------------------------------------
  42. // FW_CConnection::Connect
  43. //----------------------------------------------------------------------------------------
  44.  
  45. void FW_CConnection::Connect()
  46. {
  47.     fIsConnected = TRUE;
  48. }
  49.  
  50. //----------------------------------------------------------------------------------------
  51. // FW_CConnection::Disconnect
  52. //----------------------------------------------------------------------------------------
  53.  
  54. void FW_CConnection::Disconnect()
  55. {
  56.     fIsConnected = FALSE;
  57. }
  58.